<style type="text/css">
    .newFolder{
        margin: 5px 10px;
        background-color: #1ab394;
        border: 0;
    }
    .pathName{
        height: 34px;
        line-height: 34px;
        margin-right: 30px;
    }
    .folders{
        float: left;
        width: 25%;
        text-align: center;
        margin: 10px 0;
    }
    .foldersName{
        text-align: center;
        font-size: 16px;
        height: 40px;
        line-height: 40px;
        width: 100%;
    }
    .folderPic{
        /*width: 15%;*/
        height: 80px;
        width: 80px;
    }
    .col-sm-2 {padding-left: 0;}
    .col-sm-1 {width: 9.333333%;}
</style>
<div ng-controller="picStorageCtr" >
    <div class="ngdialog-message">
        <form class="form-horizontal" method="get" action="#" onkeydown="if(event.keyCode==13)return false;">
            <div class="panel-heading font-bold">
                图库
            </div>
            <div class="panel-body">
                <div class="form-group">
                    <label class="col-sm-2 control-label">文件夹路径</label>
                    <div class="col-sm-4">
                        <div class="input-group m-b col-sm-12">
                            <input type="text" ng-model="folderPath" class="form-control">
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="folders" ng-repeat="itme in folderList">
                        <img class="folderPic" ng-src="img/folderPic.jpg"/>
                        <div class="foldersName">{{itme.name}}</div>
                    </div>
                </div>

                <uploadpicstorage></uploadpicstorage>
                
                <div class="form-group">
                    <label class="col-sm-2 control-label">新建文件夹</label>
                    <div class="col-sm-6">
                        <input type="text" ng-model="folderName" placeholder="请输入文件夹名称" class="col-sm-6 pathName">
                        <button type="button" class="btn btn-yellow" ng-click="newFolder()">OK</button>
                    </div>
                </div>
             </div>   
                
            <div class="ngdialog-buttons">
                <button type="button" class="ngdialog-button ngdialog-button-primary" ng-click="makeSureUpload()">确认</button>
                <button type="button" class="ngdialog-button ngdialog-button-secondary" ng-click="closeThisDialog()">关闭</button>
            </div>
        </form>
    </div>
</div>